// 用户路由接口
const Router = require("koa-router");
const { findAccount, findPhone } = require("../controller/user-controller");
const userRouter = new Router({
  prefix: "/users",
});

//查询账号接口
userRouter.post("/account", findAccount);
userRouter.post("/phone", findPhone);

module.exports = userRouter;
